@layout("/common/_container.html",{js:["/assets/basic/basicPosition/basicPosition_edit_hx.js"]}){
<style>
	.layui-badge-rim, .layui-colla-content, .layui-colla-item, .layui-collapse, .layui-elem-field, .layui-form-pane .layui-form-item[pane], .layui-form-pane .layui-form-label, .layui-input, .layui-layedit, .layui-layedit-tool, .layui-quote-nm, .layui-select, .layui-tab-bar, .layui-tab-card, .layui-tab-title, .layui-tab-title .layui-this:after, .layui-textarea {
    	border-color: #89d19d;
    }
    .layui-form-pane .layui-form-label {
   	 	background-color: #e6e6e6;
	}
</style>
<div class="layui-body-header">
    <span class="layui-body-header-title">修改</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="basicPositionForm" lay-filter="basicPositionForm" class="layui-form layui-form-pane" style="max-width: 1350px;margin: 10px auto;">
                <input name="id" id="positionId" type="hidden"/>
                <div class="layui-form-item">
                    <div class="layui-input-block" style="margin-top: 20px;">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
			    	<legend>修改库位信息</legend>
			  	</fieldset> 
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label" style="font-weight: 600;">所属库房<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="warehouseId" name="warehouseId" lay-filter="warehouseId" lay-verify="required" required>
                            	<option value=""></option>
                                @for(item in wlist!){
                                <option value="${item.id}">${item.warehouseName}</option>
                                @}
                            </select>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label" style="font-weight: 600;">所属库区<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="positionAreaId" name="positionAreaId" lay-filter="positionAreaId" lay-verify="required" required>
                            	<option value=""></option>
                                @for(item in alist!){
                                <option value="${item.id}">${item.areaName},${item.areaNumber}</option>
                                @}
                            </select>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label" style="font-weight: 600;">库位编号<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="positionNumber" name="positionNumber" placeholder="请输入库位编号" type="text" class="layui-input" lay-verify="required" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
                            <label class="layui-form-label">库位类型</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <select id="positionType" name="positionType" lay-verify="">
                                <option value="存储位">存储位</option>
                                <option value="拣货位">拣货位</option>
                            </select>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label">保管条件</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="positionCondition" name="positionCondition" placeholder="请输入保管条件" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label" style="font-weight: 600;">托存量<span style="color: red;">*</span></label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="traySize" name="traySize" placeholder="请输入托存量" type="text" class="layui-input" lay-verify="required" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label">长</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="positionLength" name="positionLength" placeholder="请输入长" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				      <div class="layui-form-mid">    </div>
				      <label class="layui-form-label">宽</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="positionWidth" name="positionWidth" placeholder="请输入宽" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
				  
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label">高</label>
				      <div class="layui-input-inline" style="width: 180px;">
                            <input id="positionHeight" name="positionHeight" placeholder="请输入高" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
				<fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
					<legend>新零帮参数设置</legend>
				</fieldset>

				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label" style="width: 200px;">新零帮库位id</label>
						<div class="layui-input-inline" style="width: 200px;">
							<input id="positionXlbId" name="positionXlbId" placeholder="请输入新零帮库位id" type="text" class="layui-input" lay-verify="" required/>
						</div>

					</div>
				</div>
                <fieldset class="layui-elem-field layui-field-title" style="margin-top: 10px;">
			    	<legend>拣货顺序</legend>
			  	</fieldset> 
                  <div class="layui-form-item">
				    <div class="layui-inline">
				      <label class="layui-form-label">拣货顺序</label>
				      <div class="layui-input-inline" style="width: 380px;">
                            <input id="positionPickingorder" name="positionPickingorder" placeholder="请输入拣货顺序" type="text" class="layui-input" lay-verify="" required/>
				      </div>
				    </div>
				  </div>
			  	
                <div class="layui-form-item layui-form-text">
                    <label class="layui-form-label">备注</label>
                    <div class="layui-input-block">
				        <textarea placeholder="请输入内容" class="layui-textarea" name="positionNotes"></textarea>
                    </div>
                </div>
            </form>
        </div>
                <div class="layui-card-body">
                    <div class="layui-form toolbar" style="max-width: 1350px;margin: 10px auto;">
		                <fieldset class="layui-elem-field layui-field-title">
					    	<legend>绑定商品</legend>
					  	</fieldset> 
                        <div class="layui-form-item">
		            		<div class="layui-inline">
		                		<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>添加</button>
							    <button id="btnDelete" class="layui-btn layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>删除</button>
		            		</div>
                        </div>
                    	<table class="layui-table" id="hxBasicPositionGoodsTable" lay-filter="hxBasicPositionGoodsTable"></table>
                    </div>
                </div>
    </div>
</div>

@}